<template>
	<div class="page result">
		<div class="scroll-view">
			<customHeader :middleTitle="header"  @leftCallBack="complete" @rightCallBack="complete" />
			<div class="page-body">
				<result type="fail" title="绑定失败" :msg="msg" />
			</div>
		</div>
	</div>
</template>

<script>
import Vue from "vue";
import customHeader from "../../components/header/header";
import result from "../../components/result/result";
export default {
  name: "bindingFail",
  data() {
    return {
      header: "绑定失败",
      msg:'绑定失败'
    };
  },
  methods: {
	  complete(){
      var shopId = this.$route.query.shopId;
      //  this.$router.push({
      //   path: "/storeManage/getMoneyQrCode",
      //   query: { id: shopId }
      // });
		  this.$router.back(-1);
	  }
  },
  created: function() {
    var query = this.$route.query;
    if(query && query.msg){
      this.msg = query.msg;
    }
  },
  components: {
    customHeader,
    result
  }
};
</script>

